// Mass noble packet
javascript:
var coins=7;
function selectAllMax2(form,textMax,textNothing)
{
  for(var i=0;i<form.length;i++) {
    var select=form.elements[i];
    if(select.selectedIndex!=null) {
      if(max){
        if(select.length>(coins+1)){
          select.selectedIndex=select.length-(coins+2);
        } else
          select.value=0;
      }else
        select.value=0;
    }
  }
  max=max?0:1;
  anchor=document.getElementById('select_anchor_top');
  anchor.firstChild.nodeValue=max?textMax:textNothing;
  anchor=document.getElementById('select_anchor_bottom');
  anchor.firstChild.nodeValue=max?textMax:textNothing;
  changeBunches(form);
}
if(document.URL.match('screen=snob')&&document.URL.match('mode=reserve')){
  selectAllMax2(document.forms['villages'],'Choose maximum amount','Select nothing');
} else {
  alert('Script only works on academy store page');
}
